import request from '@/utils/request'

export function getProjectEnvOne(params) {
    return request({
        url: '/projectEnv/one',
        method: 'get',
        params,
    })
}

export function getProjectEnvList(params) {
    return request({
        url: '/projectEnv/list',
        method: 'get',
        params,
    })
}

export function createProjectEnv(data) {
    return request({
        url: '/projectEnv/add',
        method: 'post',
        data
    })
}

export function updateProjectEnv(data) {
    return request({
        url: '/projectEnv/update',
        method: 'post',
        data
    })
}